package com.huowenjie.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name="ribbon02",fallback = TestFakk.class)
public interface TestApi {

    @RequestMapping("/test02/{name}")
    public String test(@RequestParam(name="name") String name);

}
